package beans;

public class Incident extends Information {
	
	private CodeIncident codeIncident;
	
	private static final long serialVersionUID = -8707629752678337411L;
	@Override
	public String toString() {
		return "Incident [" + codeIncident + "]";
	}
	
	public CodeIncident getCodeIncident() {
		return codeIncident;
	}
	public void setCodeIncident(CodeIncident codeIncident) {
		this.codeIncident = codeIncident;
	}
	
	public void setCodeIncident(String codeIncident) {
		this.codeIncident.setCode(codeIncident);
	}
}
